{% extends "base_generic.html" %}
{% block title %}Contacto{% endblock %}
{% block script %}
<script type="text/javascript">
  $(document).ready(function() {
  });
</script>
{% endblock %}
{% block content %}
<p id="breadcrumbs"><a href="/">Inicio</a> ›</p>
{% if not sent %}
<h1>Contacto</h1>
<div id="maincontent">
  <form action="#" method="post" id="contactform" class="dataform">
    <div class="line">
      <div class="field">
    <label for="name">Tu nombre:</label>
    <input id="name" name="name" size="40" />
      </div>
    </div>
    <div class="line">
      <div class="field">
    <label for="email">Tu email:</label>
    <input id="email" name="email" size="25" />
    </div>
  </div>
  <div class="line">
    <div class="field">
    <label for="message">Mensaje:</label>
    <textarea name="message" id="message" rows="8" cols="70"></textarea>
    </div>
  </div>
  <div class="line">
    <div class="field">
    <input id="send" name="send" value="Enviar" type="submit" />
    </div>
  </div>
  </form>
{% else %}
<h1>Mensaje enviado correctamente</h1>
<div id="maincontent">
  <p>Te contestaremos lo antes posible.</p>
{% endif %}
</div>
{% endblock %}